import axios from "~/axios"

export function getImageList(id,page =1) {
	return axios.get(`/admin/image_class/1/image/2`)
}

export function updateImage(id,name) {
	return axios.post("/admin/image_class",{ name })
}

export function deleteImage(ids) {
	return axios.post('/admin/image_class/2083/delete',{ ids })
}

export const uploadImageAction ="/api/admin/image/upload"